-- GENERATED SPELL FOR [Enraged Silverback Gorilla] --


function spell0_1511(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_1511', 676, 1)
end

function Sorts_1511(pUnit, Event)
local choix_sorts_1511 = math.random(0, 0)
if choix_sorts_1511 == 0 then
pUnit:RegisterEvent('spell0_1511', 1, 1)
end
end

function mob1511_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1511', math.random(1500, 3000), 1)
end

function mob1511_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1511_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1511_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1511, 1, 'mob1511_Action')
RegisterUnitEvent(1511, 2, 'mob1511_Leave')
RegisterUnitEvent(1511, 3, 'mob1511_Kill')
RegisterUnitEvent(1511, 4, 'mob1511_Die')
